package com.yff.file;

import com.yff.common.security.annotation.EnableCustomConfig;
import com.yff.common.swagger.annotation.EnableCustomSwagger2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 文件服务
 * 
 * @author yff
 */
@EnableCustomSwagger2
@EnableCustomConfig
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class YffFileApplication
{
    private static final Logger log = LoggerFactory.getLogger(YffFileApplication.class);
    public static void main(String[] args)
    {
        SpringApplication.run(YffFileApplication.class, args);
        log.info("YffFileApplication start success=====");
    }
}
